/* eslint-disable no-undef */
(function () {
    if (window.__POWERED_BY_QIANKUN__) {
      console.log("加载乾坤应用");
      if (process.env.NODE_ENV === "development") {
        console.log("开发环境 加载乾坤应用");
        // eslint-disable-next-line no-undef
        __webpack_public_path__ = `////${process.env.VUE_APP_PUBLIC_HOST}:${process.env.VUE_APP_PORT}//`;
        // eslint-disable-next-line no-undef
        console.log(__webpack_public_path__);
        return;
      }
      console.log("生产环境 加载乾坤应用");
      // eslint-disable-next-line no-undef
      __webpack_public_path__ = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__;
      // eslint-disable-next-line no-undef
      console.log(__webpack_public_path__);
    } else {
      console.log("没有加载乾坤应用");
      // eslint-disable-next-line no-undef
      console.log(__webpack_public_path__);
    }
  })();
